--[[
  class: UI.SyncValue

  A container class where the value is automatically synchronized between the server and clients.
]]


--[[
  str: name

  The variable name.

  Data Type: string::
  Access: Read-Only::
]]
UI.SyncValue.name


--[[
  var: value

  The last synchronized value.

  Data Type: number / string / bool::
  Access: Read-Only::
]]
UI.SyncValue.value


--[[
  method: Create

  Create/Get the <UI.SyncValue> instance and listen its value with given variable name.

  Access: Read-Only::

  Parameters:
    name - (*string*) The variable name to listen.

  Returns:
    (*<UI.SyncValue>*) The SyncValue instance.
]]
function UI.SyncValue.Create (name)


--[[
  event: OnSync

  --- Lua
  function UI.SyncValue:OnSync ()
  ---

  Called each time the value is synchronized.

  Access: Write-Only::
]]

